Skip to content

ReactiveList.DeferNotifications() method

Defined in

Type: ReactiveList Namespace: ReactiveList.Collections Assembly: ReactiveList.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public NotificationDeferral DeferNotifications()

View source (opens in a new tab)

Summary: Defers change notifications until the last active deferral is disposed.

Returns: NotificationDeferral -- The token that releases this deferral.

Remarks

Writes are immediately visible to readers. If the list changed, it publishes one reset when notifications resume. Open and release deferrals outside callbacks that run under the list lock.

Exceptions

TypeCondition
System.ObjectDisposedException (opens in a new tab)The list is disposed.